<template>
  <tag>默认标签</tag>
  <tag type="success">成功标签</tag>
  <tag type="info" :showDel="true" :close="close">引用标签</tag>
  <tag type="warning">警告标签</tag>
  <tag type="danger">危险标签</tag>
</template>
<script>
import { defineComponent } from "vue";
import Tag from "../lib/Tag.vue";

export default defineComponent({
  components: { Tag },
  setup() {
    const close = () => {
      console.log("ss");
    };
    return { close };
  },
});
</script>
